#ifndef _BEZIER_H
#define _BEZIER_H
#include "vector.h"
#include "../common/arraylist.hpp"
#include "../common/types.h"

struct Bezier
{
	ArrayList<Vector3f> m_Points; 
	ArrayList<Vector3f> m_Direction; 
	
	unsigned int GetPointCount(); 
	void AddPoint(const Vector3f& point, const Vector3f& dir); 
	HRESULT Evaluate(Vector3f* pPosition, const float fFrac); 
	void Clear(); 
}; 

#endif